package com.zhoug.player3demo;

import android.app.Application;
import android.content.Context;

import com.zhoug.common3.Logger;
import com.zhoug.player3.qly.QlySdk;

import androidx.multidex.MultiDex;

public class App  extends Application {
    private static Application application;
    @Override
    public void onCreate() {
        super.onCreate();
        application=this;
//        HikPlayerInit.init(this,null,true);
        QlySdk.init(this,QlyAccount.appId,QlyAccount.privateKey,true);
        Logger.setDebug(true);
    }

    public static Application getApplication() {
        return application;
    }
    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(this);
    }

}
